function HandlePageB1ReceiveProduct(gui, operator, now, options) {
  this._gui = gui;
  this._operator = operator;
  this._now = now;
  this._options = options;
  
  this._query = DlmanageUtils.asstReceiveProduct;
  
  this._createElements();
};

HandlePageB1ReceiveProduct.prototype._createElements = function() {
  if (this._operator.type != '{{$smarty.const.USER_TYPE_ADMIN|escape:javascript}}') {
    var smryGui = GuiSmryAsst.instance();
    var smryArgs = DlmanageUtils.asstSmryArgs(smryGui, this._operator);
  } else {
    var smryGui = null;
    var smryArgs = [];
  }
  var manager = (this._operator.type == '{{$smarty.const.USER_TYPE_MANAGER|escape:javascript}}') ? true : false;
  var supervise = (this._operator.type == '{{$smarty.const.USER_TYPE_MANAGER_ASSISTANT|escape:javascript}}') ? 0 : 1;
  var gui = GuiMails.instance(this._gui.mailNo, this._gui.customerNo, this._gui.product, this._gui.search, this._gui.pages, this._gui.tasks);
  new HandleMails(gui, null, { operator: this._operator, now: this._now, query: this._query, menu: { a: 1, b: 1, c: 1, d: 16 }, smryGui: smryGui, smryArgs: smryArgs, a: this._options.a, s: supervise, manager: manager });
};